home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Popular Request
/
By Popular Request (Arsenal Computer)(SysOptics Distribution System).ISO
/
amiga2
/
hmndc100.lha
/
HAMonDCTV.doc
< prev
Wrap
Text File
|
1994-01-01
|
4KB
|
100 lines
HAMonDCTV version 1.00, copyright 1993 Nicolas Dade. All Rights Reserved.
Permission is hereby granted for non-commercial duplication and
distribution, and for distribution by BBSs which do not charge
for downloads, and for distribution in disk collections which
charge a nominal fee per disk. This is not shareware.
NOTE: This program is of very little use if you don't own a DCTV
display device. In addition to a DCTV, you must be using
workbench version 2.04 or better.
NOTE: the dctv.library is required by HAMonDCTV but it is not
included in this archive. If you don't already have it, the
easiest place to find it in on aminet in the file
"gfx/misc/dctvlib3.lzh".
HAMonDCTV displays ham6 and ham8 pictures using the dctv display
device. Therefore it does _not_ require the AGA chipset to
display ham8 images. Yes, now you too can look at people's
raytraced ham8 pictures on your non-AGA but dctv amiga.
Images are automatically shrunk to fit the screen (unlike the
dctv software), and the final dctv screen image can be saved to a
file. The shrinking is done by skipping columns or rows of
pixels, whic is fast but which can result in some details in the
original image missing completely from the dctv image if the
details resided in only those columns and/or rows that where
skipped. This doesn't happen often with raytraced images and
photographic images, but it can happen with computer drawn images
with thin vertical and/or horizontal lines.
Usage is from a shell interface only.
To just display a ham6 or ham8 image,
HAMonDCTV ham6_picture_file
The default display uses an interlaced 4 bitplane display the
size of the text overscan (which is the size of your workbench
screen's visible area). In addiiton the image is filtered (as in
the FILTER option in the dctv load requester) as it is loaded.
These behaviors are modified by the parameters 3PLANES, NOLACE,
NOFILTER and OVERSCAN. The first three are just flags. OVERSCAN
should be followed by the abbreviation for the overscan mode you
desire. The choices are
NOM (Nominal) For your screen modes, this is 640x400 or 640x200.
TXT (Text) Every bit of the screen is visible. Set via preferences.
GFX (Graphics) The screen reaches the each of the display. Set via
preferences
MAX (Maximum) The screen is as large as the hardware will allow, while
still allowing all other DMA to take place
VID (Video) The screen is as large as the hardware will allow, without
caring about doing anything but displaying the image. Video is,
ironically, even larger than maximum.
BEHIND tells HAMonDCTV to open it's screen behind others, so that
you do not have to see the image loading process. The screen is
brought to the front once the image is loaded.
In addition to displaying ham6 and ham8 images, HAMonDCTV will
also save the dctv image. To do this, specify
SAVEAS=dctv_image_file.
Typing "HAMonDCTV ?" and then giving a second "?" at the prompt
will show the internal help text, which sumarizes this doc file.
One last example:
HAMonDCTV testham8.pic 3PLANES NOLACE OVERSCAN=NOM SAVEAS testdctv.pic
will display the picture testham8.pic in a 640x200x3 bitplane
screen, and save the dctv image to the file testdctv.pic.
The loading or saving process can be aborted by pressing ESC or
CTRL-C (either by sending HAMonDCTV a ctrl-c signal via the break
command, or by pressing ctrl-c into the image's screen (well,
window, actually, but you can't see the window very well).
Once the image is displayed, HAMonDCTV waits for the use to press
any of SPACE, RETURN, Q, ESC, CTRL-C, or the right mouse button,
and then it exits.
I wrote HAMonDCTV in three days in order to learn to use the
dctv.library, in preperation for my real christmas holiday
project, a jpeg -> dctv displayer. Therefore I'm not likely to
add support for 256 or fewer color pictures, nor any other bells
and whistles. If you would like to do this yourself, feel free to
email me. The source is 1950 lines of assembly.
I am
Nicolas Dade
405 W. Delaware
Urbana IL 61801
or
-Nicolas Dade / n9rzb / nicolas-dade@uiuc.edu